

package com.example.financeapi.config.annotation;

import java.lang.annotation.*;

/**
 * 需要登录才能进行操作的注解UserLoginToken
 * @author Alvin
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)//运行时注解
public @interface UserLoginToken {
    boolean required() default true;
}